package com.digital.herbarium.Mapper;

import com.digital.herbarium.Entity.PopularRead;
import com.digital.herbarium.Entity.ReadOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface PopularReadMapper {

    void addPopularRead(PopularRead popularRead);

    void editPopularRead(PopularRead popularRead);

    Integer getPopularReadByPid(@Param("pid") Long pid);


    List<ReadOrder> getReadOrder();


}
